package com.woniu.entity;

public class Admins {
    private int id;

    private String username;

    private String password;


    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username == null ? null : username.trim();
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password == null ? null : password.trim();
    }

    public Admins(int id, String username, String password) {
        this.id = id;
        this.username = username;
        this.password = password;
    }

    public Admins() {
    }

    public Admins(String username, String password) {
        this.username = username;
        this.password = password;
    }

    public Admins(int id) {
        this.id = id;
    }

    @Override
    public String toString() {
        return "com.woniu.dao.Admins{" +
                "id=" + id +
                ", username='" + username + '\'' +
                ", password='" + password + '\'' +
                '}';
    }
}